<?php

namespace Application\Site1Bundle\Extensions;

//use Bundle\AclBundle\Acl;
//use Bundle\AclBundle\Interfaces\ResourceInterface as Resource;
//use Bundle\AclBundle\Interfaces\RoleInterface as Role;
use Zend\Acl\Acl;
use Zend\Acl\Role;
use Zend\Acl\Resource;

class TreeAclAssertion implements \Zend\Acl\Assertion
{
    public function assert(Acl $acl, Role $role = null, Resource $resource = null, $privilege = null)
    {


        return
        die(var_dump(
                array('Role' => \var_dump($role),
                    'Resource' => \var_dump($resource),
                    'Privilege' => \var_dump($privilege)
                ))
                );
    }
}